<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thyemeaf.org/thymeleaf-extras-springsecurity4">
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="css/style.css" />
    <link rel="stylesheet" href="css/iconfont.css" />
    <title>注册</title>
</head>
<body>
<div id="bigBox1">
    <h1>族谱管理员注册</h1>
    <p th:text="${msg}" th:if="${not #strings.isEmpty(msg)}" style="color: red" ></p>
    <form th:action="@{/doRegister}" method="post">
        <div class="inputBox" >
            <div class="inputText">
                <span class="iconfont icon-nickname"></span>
                <input type="text" placeholder="请输入手机号" name="account" />
            </div>
            <div class="inputText">
                <span class="iconfont icon-visible"></span>
                <input type="password" placeholder="请输入密码" name="password" />
            </div>
            <div  class="inputText">
                <span class="iconfont icon-address"></span>
                <input type="text" placeholder="请输入地址" name="address" />
            </div>
            <div  class="inputText">
                <span class="iconfont icon-address"></span>
                <input type="text" placeholder="请输入年龄" name="age" />
            </div>
            <div  class="inputText">
                <span class="iconfont icon-address"></span>
                <input type="radio"  name="gender" value="男" checked="checked" /><font color="white">男</font>
                <input type="radio"  name="gender" value="女" /><font color="white">女</font>
            </div>
        </div>
        <input class="loginButton" type="submit" value="注册" />
    </form>
</div>
</body>
</html>
